
try{ymPrompt=top.ymPrompt}catch(e){}

function closeAlertWin(){
	window.parent.ymPrompt.close();
}

function winSuccess(msg,handler){
	if(handler==null)
		window.parent.ymPrompt.succeedInfo({
				icoCls: 'ymPrompt_succeed',
				btn: ['OK'],
				message: msg
			});
	else
		window.parent.ymPrompt.succeedInfo({
				icoCls: 'ymPrompt_succeed',
				btn: ['OK'],
				message: msg,
				handler: handler
			});
}
